package com.gxa.logistics.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("vehicle_insurance")
public class Insurance {
    @TableId(type= IdType.AUTO) //配置主键
    //车牌号码
    private String lpnum;
    //保险公司
    private String isr_company;
    //商业险保单号
    private Integer cipnum;
    //交强险保单号
    private Integer clipnum;
    //商业险起始日期
    @JsonFormat(pattern = "yyyy-MM-dd ",timezone = "Asia/Shanghai")
    private Date cisdate;
    //交强险起始日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date clisdate;
}
